package cn.lili.modules.member.entity.dto;

import cn.lili.common.security.enums.SceneEnums;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 用户登录查询参数
 *
 * @author Chopper
 * @version v1.0
 * 2022-08-31 15:44
 */
@Data
public class UserLoginDTO {
    /**
     * 用户名/密码/场景
     */
    @NotNull(message = "username cannot be empty")
    private String username;

    @NotNull(message = "password cannot be empty")
    private String password;

    private SceneEnums scene;
}
